import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import axios from "axios";
import lodash from "lodash";

// 引入 mock 配置
import "./mock";

Vue.config.productionTip = false;
Vue.use(ElementUI);

// 配置 axios 和 lodash
Vue.prototype.$axios = axios;
Vue.prototype.$lodash = lodash;

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
